

@string{foo="Foo"}
@string{bar=foo#" Bar"}


%% test the home page feature
@string{hp_J.Abounader="http://www.google.com"}

@inproceedings{classical,
  author = {J. Abounader and D. Tooj},
  title = bar,
  institution = {Queen's University, Kingston, ON.},
  year = {1997}
}

%% testing the abstract
@inproceedings{with_abstract,
  author = {J. Abounader and D. Tooj},
  title = {This is with abstract},
  institution = {Queen's University, Kingston, ON.},
  year = {1997},
  abstract = {This is an abstract
  on several lines}
}


%% using double quotes
%% also Took test the advanced search
@TECHREPORT{dquotes,
  author = "J. Abounader and Tooj, D.",
  title = "using double quotes ",
  institution = "Queen's University, Kingston, ON.",
  year = "1997"
}


%% using single value (year)
@TECHREPORT{singlevalue,
  author = {The },
  title = {The year},
  institution = {Queen's University, Kingston, ON.},
  year = 1997
}


%% no new line
@TECHREPORT{Abounader1997e,  author = {J. Abounader  and D. Lamb},  title = "using double quotes",  institution = {Queen's University, Kingston, ON.},  year = 1997 }



%% intersting: bibtex does not allow \} in brackets enclosed entries and \" in quotes enclosed entries

%% escaped quotes
@TECHREPORT{notallowed1,
  author = {J. Abounader and D. Lamb},
  title = "escaped \"quotes\"",
  institution = {Queen's University, Kingston, ON.},
  year = {1997}
}

%% escaped braces
@TECHREPORT{notallowed2,
  author = {J. Abounader \} and D. Lamb},
  title = "escaped braces",
  institution = {Queen's University, Kingston, ON.},
  year = {1997}
}

@article{testsearch1,
  author = {Jacob G{\"o}del},
  title = {using Banach Space},
  year = {1997}
}
@article{testsearch2,
  author = {Jacob {G}{\"{o}}del},
  title = {using banach space},
  year = {1997}
}
@article{testsearch3,
  author = {Jacob {G\"{o}del}},
  title = {using {Banach} Space},
  year = {1997}
}
@article{testsearch4,
  author = {Jacob Gödel},
  title = {using {B}anach Space},
  year = {1997}
}
@article{testsearch5,
  author = {Jacob Gödel},
  title = {using {Banach Space}},
  year = {1997}
}



%% bug from Jakob Kellner
%% copied from ams.org
@article {MR1841330,
    AUTHOR = {Lejay, Antoine},
     TITLE = {Homogenization of divergence-form operators with lower-order
              terms in random media},
   JOURNAL = {Probab. Theory Related Fields},
  FJOURNAL = {Probability Theory and Related Fields},
    VOLUME = {120},
      YEAR = {2001},
    NUMBER = {2},
     PAGES = {255--276},
      ISSN = {0178-8051},
     CODEN = {PTRFEU},
   MRCLASS = {35B27 (31C25 35R60 60H30 60J60)},
  MRNUMBER = {MR1841330 (2002g:35023)},
MRREVIEWER = {Jean-Fran{\c{c}}ois Clouet},
       DOI = {10.1007/PL00008783},
       URL = {http://dx.doi.org/10.1007/PL00008783},
}

@article{serge,
  author = "Serge Bug",
  title = "curly {braces} in quote",
  year = 2010
}

@article{cediltest,
  author = "Serge Bug",
  title = "\ccurly  \c{c}urly  {\c{c}}urly ",
  year = 2010
}


%%%%% now testing the string concatenation
@string{str1="toto"}
@string{str2="titi"}

@book{stgringconcat:test1,
  author = {J. Abounader and D. Lamb},
  title = str1#str2,
  institution = {Queen's University, Kingston, ON.},
  year = {1997}
}

% with space
@bookchapter{stgringconcat:test2,
  author = {J. Abounader and D. Lamb},
  title = str1 # str2,
  institution = {Queen's University, Kingston, ON.},
  year = {1997}
}

% with another value
@inbook{stgringconcat:test3,
  author = {J. Abounader and D. Lamb},
  title = str1 # {3344},
  institution = {Queen's University, Kingston, ON.},
  year = {1997}
}


%% Saturday, October 09 2010
%% taken from http://en.wikipedia.org/wiki/BibTeX
@PROCEEDINGS {conference:06,
 editor    = {First Editor and Second Editor},
 title     = {Proceedings of the Xth Conference on XYZ},
 booktitle = {Proceedings of the Xth Conference on XYZ},
 year      = {2006},
 month     = oct,
}

@INPROCEEDINGS {author:06,
 title    = {Some publication title},
 author   = {First Author and Second Author},
 crossref = {conference:06},
 pages    = {330?331},
}


%% Thursday, October 28 2010
%% two test cases for special key
@INPROCEEDINGS {author+06,
 title    = {Some publication title},
 author   = {First Author and Second Author},
 year = {2011},
}

@INPROCEEDINGS {     author06   ,
 title    = {Some publication title},
 author   = {First Author and Second Author},
 year = {2011},
}

%% testing the accented i and j
@INPROCEEDINGS {paper000,
 title    = {Some publication title},
 author   = {F\`\irst A\`{\i}thor and S{\`\i}cond Author\`\I},
 year = {2011},
}

%% bug reported by Mark Hereld
@misc{mark,
 title    = {Bug in Urls},
 author   = {Mark Hereld},
 howpublished   = {\url{http://foo.com/under_score.html}},
 year = {2011},
}

%% handling of percentage
@misc{mark,
 title    = {Percentage \%},
 abstract    = {Percentage \%},
 author   = {MM},
 year = {2015},
}

% bug https://github.com/monperrus/bibtexbrowser/issues/40
@Article{Baldwin2014Quantum,
  Doi                      = {10.1103/PhysRevA.90.012110},
  Url                      = {http://link.aps.org/doi/10.1103/PhysRevA.90.012110}
}

@article{croatiantest,
  author = "Strabi{\'{c}} Strabi\'{c}",
  title = "Fancy accents bug",
  year = 2015
}

